package com.rockcent.mall.lib.dto;

import com.rockcent.common.domain.DtoEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * Created by DK on 16/11/28.
 */
public class CustomerCouponWalletDto extends DtoEntity{

    //卡券id
    private Long couponId;

    //商家id
    private Long merchantId;

    //平台id
    private Long mallId;

    //客户id
    private Long customerId;

    //客户名称
    private String customerName;

    //使用门店
    private String merchantStoreName;

    //使用数量
    private Long useNum;

    //核销类型
    private String verificationWay;

    //状态 TO_USE("待使用"), USED("已使用"), EXPIRED("已过期\")
    private String status;

    //领取来源 COUPON_CENTER("领券中心"), GIFT_PACKET("礼包"), MERCHANT("商家店铺"),PROMOTE("二维码推广"),RED_PACKET("红包")
    private String source;

    //兑换码
    private String verifyCode;

    //二维码链接
    private String qrcCodeUrl;

    //核销唯一辨识码
    private String verifyKey;

    //开始时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String beginDate;

    //结束时间
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String endDate;

    //门店ID
    private Long merchantStoreId;

    //卡卷类型
    private String couponType;

    //卡卷名称|编号
    private String keyword;

    //卡卷名称
    private String couponName;

    //卡卷图片
    private String logoUrl;

    //卡卷介绍
    private String introduction;

    //最低消费金额
    private Double limitAmount;

    //面值(抵用券)
    private Double faceValue;

    //享受折扣(折扣券)
    private Double discount;

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Long getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Long merchantId) {
        this.merchantId = merchantId;
    }

    public Long getMallId() {
        return mallId;
    }

    public void setMallId(Long mallId) {
        this.mallId = mallId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getMerchantStoreName() {
        return merchantStoreName;
    }

    public void setMerchantStoreName(String merchantStoreName) {
        this.merchantStoreName = merchantStoreName;
    }

    public Long getUseNum() {
        return useNum;
    }

    public void setUseNum(Long useNum) {
        this.useNum = useNum;
    }

    public String getVerificationWay() {
        return verificationWay;
    }

    public void setVerificationWay(String verificationWay) {
        this.verificationWay = verificationWay;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getVerifyCode() {
        return verifyCode;
    }

    public void setVerifyCode(String verifyCode) {
        this.verifyCode = verifyCode;
    }

    public String getQrcCodeUrl() {
        return qrcCodeUrl;
    }

    public void setQrcCodeUrl(String qrcCodeUrl) {
        this.qrcCodeUrl = qrcCodeUrl;
    }

    public String getVerifyKey() {
        return verifyKey;
    }

    public void setVerifyKey(String verifyKey) {
        this.verifyKey = verifyKey;
    }

    public String getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(String beginDate) {
        this.beginDate = beginDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public Long getMerchantStoreId() {
        return merchantStoreId;
    }

    public void setMerchantStoreId(Long merchantStoreId) {
        this.merchantStoreId = merchantStoreId;
    }

    public String getCouponType() {
        return couponType;
    }

    public void setCouponType(String couponType) {
        this.couponType = couponType;
    }

    public String getKeyword() {
        return keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public String getCouponName() {
        return couponName;
    }

    public void setCouponName(String couponName) {
        this.couponName = couponName;
    }

    public String getLogoUrl() {
        return logoUrl;
    }

    public void setLogoUrl(String logoUrl) {
        this.logoUrl = logoUrl;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Double getLimitAmount() {
        return limitAmount;
    }

    public void setLimitAmount(Double limitAmount) {
        this.limitAmount = limitAmount;
    }

    public Double getFaceValue() {
        return faceValue;
    }

    public void setFaceValue(Double faceValue) {
        this.faceValue = faceValue;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }

    @Override
    public String toString() {
        return "CustomerCouponWalletDto{" +
                "couponId=" + couponId +
                ", merchantId=" + merchantId +
                ", mallId=" + mallId +
                ", customerId=" + customerId +
                ", customerName='" + customerName + '\'' +
                ", merchantStoreName='" + merchantStoreName + '\'' +
                ", useNum=" + useNum +
                ", verificationWay='" + verificationWay + '\'' +
                ", status='" + status + '\'' +
                ", source='" + source + '\'' +
                ", verifyCode='" + verifyCode + '\'' +
                ", qrcCodeUrl='" + qrcCodeUrl + '\'' +
                ", verifyKey='" + verifyKey + '\'' +
                ", beginDate='" + beginDate + '\'' +
                ", endDate='" + endDate + '\'' +
                ", merchantStoreId=" + merchantStoreId +
                ", couponType='" + couponType + '\'' +
                ", keyword='" + keyword + '\'' +
                ", couponName='" + couponName + '\'' +
                ", logoUrl='" + logoUrl + '\'' +
                ", introduction='" + introduction + '\'' +
                ", limitAmount=" + limitAmount +
                ", faceValue=" + faceValue +
                ", discount=" + discount +
                '}';
    }
}
